home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / QUI / UTI / ProMooV-QuickTime.cpt / ProMooV-QuickTime / ProMovie.ReadMe < prev    next >
Text File  |  1992-07-29  |  4KB  |  76 lines

  1. Example:         ProMovie - A QuickTime Movie Editor
  2. Written by:      Garth Smedley, TGS Systems
  3.  
  4. Contents:         ProMovie.pgs
  5.                         ProMovie.ReadMe
  6.                         QuickTime.XDEF
  7.                         ProMovie About Box (Movie File)
  8.  
  9. Needs System Extensions:
  10.     QuickTime
  11.     ( Requires System 7 or later )
  12.  
  13. Needs Prograph Extensions:
  14.     QuickTime.XDEF
  15.     Math Primitives
  16.     TGS Primitives #1
  17.     TGS Primitives #2
  18.     Basic Toolbox
  19.  
  20. Needs Libraries to Compile:
  21.     SCLibrary
  22.     Library
  23.  
  24. Standard Classes That Were Modified:
  25.     Application/Notify                     - Processes movie events
  26.     Application/Update Menus        - Updates the File and Edit menus
  27.     Menu/Enable Item                      - A new method
  28.  
  29. New Classes:
  30.     Movie Window            - Displays a movie
  31.     Movie Options             - Movie options dialog
  32.  
  33. Description
  34. --------------
  35. ProMovie is a complete application which will open, play, edit and save QuickTime movies. ProMovie uses QuickTime's standard movie controller to do most of the work. 
  36.  
  37.  
  38. How To Use In Your Program
  39. -------------------------------------
  40. You will probably NOT want to use ProMovie as a starting point for your own application. Instead, borrow code for the functions you need. 
  41.  
  42. The File and Edit menu methods are all Universal Methods. Look at these to see how easy it is to open, save and perform simple editing operations on movies. The "Movie Options" class contains methods which change a movie's play options, such as looping. 
  43.  
  44. "Movie Window" has only a couple of methods, one for closing the window and disposing of the window's movie and another for adjusting the window's size. "Movie Window" has four new attributes; for the window's movie, movie controller, file id, and resource id. Look in the universal method "Open" to see how these are set. 
  45.  
  46. "Application/Notify" has a new first case. For every event, this case searches the window list for movie controllers and calls "MCIsPlayerEvent" for each. "MCIsPlayerEvent" is the magic routine which completely handles clicks in the movie controller and plays movies.  The call to "MoviesTask" speeds up the front movie when it's playing.
  47.  
  48. "Application/Update Menus" keeps the edit menu up to date; yet another thing that's easy with QuickTime.
  49.  
  50. When you open a movie, you will get a window which contains the movie and a controller. The controller is the QuickTime standard movie controller, it is pretty much self-explanatory, but here is an explanation anyway. 
  51.     • Turn sound on or off:
  52.             - Click on the speaker on the far left. 
  53.     • Play movie:
  54.             - Click on the little black triangle on the left. 
  55.     • Stop playing:
  56.             - The little black triangle on the left changes to a stop button when the movie is playing. 
  57.     • Play movie backwards:
  58.             - Shift-click on the little black triangle on the left. 
  59.     • Play movie by hand:    
  60.             - Drag the slider rectangle around. 
  61.     • Play movie one frame at a time:
  62.             - Click one of the two frame buttons on the right.
  63.     • Go to a particular place in the movie:
  64.             - Click on the slider bar.
  65.     • Go directly to the beginning or the end of the movie:
  66.             - Option-Click on one of the frame buttons on the right.
  67.     • Select a part of the movie:
  68.             - Shift-Click in the slider bar or Shift-Drag the slider.
  69.     • Select a single frame:
  70.             - Shift-Click in one of the frame buttons on the right. 
  71.  
  72. To edit a movie, select one or more frames as outlined above, and use the copy and paste functions.    ( There is a little bug in Paste, it adds to the selection instead of replacing it. Use  Clear before pasting to get the normal paste behavior. Sorry. )
  73.  
  74. To make the movie loop, select part or all of the movie, and choose the "Options" item in the "Edit" menu.  You will get a little dialog with a couple of buttons and check boxes. Check "Looping" and "Play Selection" then press OK.  ("Palindrome" make the movie play forward then backward)  ( Note that each movie has its own separate options settings)  Click on the play button. The movie will play just the selection in a continuous loop.  Press the play button again to stop the movie. (The play button changes to a pause button when the movie plays)
  75.  
  76.